package com.rd.student.jike.class2.xuezhixin.day0802;

public abstract class Animal {
    String name;

    public Animal(String name) {
        this.name = name;
    }

    public abstract void voice();
    public abstract String enjoy();

    public String getName() {
        return name;
    }
}